home *** CD-ROM | disk | FTP | other *** search
/ CD School House 9 / CD School House 9.0 - Wayzata Technology (1994).iso / pc / games / mac / __adventureland__ / __adventure_helpers__ / dungeon_mastery_2_0 / dm_reference / background_3679.txt < prev    next >
Text File  |  1992-05-24  |  21KB  |  900 lines

  1. -- background: 3679 from stack: in
  2. -- bmap block id: 4224
  3. -- flags: 0000
  4. -- background id: 0
  5. -- name: bMnstr
  6. ----- HyperTalk script -----
  7. on opencard
  8.   if line 2 of field "Name2" is not empty then
  9.     set the hilite of background button "Large?" to line 2 of field "Name2"
  10.   else set the hilite of background button "Large?" to false
  11. end opencard
  12.  
  13. on newcard
  14.   put "N N" into field "Moral/Order"
  15.   put "Common" into field "Frequency"
  16.   put "Any" into field "Activity"
  17.   put "Warrior" into field "Save Class"
  18.   click at the loc of field "Name2"
  19. end newcard
  20.  
  21. on calcth
  22.   -- THAC0
  23.   put field "Level" into lvl
  24.   if "-" is in field "HD" then subtract 1 from lvl
  25.   if lvl=0 then put 20 into th
  26.   else put 19-2*trunc((lvl-1)/2) into th
  27.   put th into field "Base THAC0"
  28.   repeat with i=1 to 5
  29.     if line i of field "weapon" is not empty then
  30.       put line i of field "Weapon Bonus" into wadj
  31.       if character 1 of wadj is "+" then delete character 1 of wadj
  32.       put th-wadj into line i of field "Weapon THAC0"
  33.       wpndmg i
  34.       wpndmg2 i
  35.     else put empty into line i of field "Weapon THAC0"
  36.   end repeat
  37. end calcth
  38.  
  39. on msvthrw
  40.   svthrw (field "Save Class")&","&(field "Save Level")
  41. end msvthrw
  42.  
  43.  
  44.  
  45. -- part 6 (button)
  46. -- low flags: 00
  47. -- high flags: 0000
  48. -- rect: left=401 top=50 right=82 bottom=433
  49. -- title width / last selected line: 0
  50. -- icon id / first selected line: 0 / 0
  51. -- text alignment: 1
  52. -- font id: 0
  53. -- text size: 12
  54. -- style flags: 0
  55. -- line height: 16
  56. -- part name: Flip
  57. ----- HyperTalk script -----
  58. on mousedown
  59.   gonext
  60. end mousedown
  61.  
  62. on mousestilldown
  63.   gonext
  64. end mousestilldown
  65.  
  66.  
  67.  
  68. -- part 27 (button)
  69. -- low flags: 00
  70. -- high flags: 0000
  71. -- rect: left=0 top=43 right=339 bottom=23
  72. -- title width / last selected line: 0
  73. -- icon id / first selected line: 0 / 0
  74. -- text alignment: 1
  75. -- font id: 0
  76. -- text size: 12
  77. -- style flags: 0
  78. -- line height: 16
  79. -- part name: New Button
  80. ----- HyperTalk script -----
  81. on mousedown
  82.   goprev
  83. end mousedown
  84.  
  85. on mousestilldown
  86.   goprev
  87. end mousestilldown
  88.  
  89.  
  90.  
  91. -- part 86 (field)
  92. -- low flags: 02
  93. -- high flags: 4000
  94. -- rect: left=78 top=65 right=82 bottom=206
  95. -- title width / last selected line: 0
  96. -- icon id / first selected line: 0 / 0
  97. -- text alignment: 0
  98. -- font id: 21
  99. -- text size: 12
  100. -- style flags: 0
  101. -- line height: 16
  102. -- part name: Name2
  103. ----- HyperTalk script -----
  104. on closefield
  105.   global nknm
  106.   put false into nknm
  107.   if the length of me<11 then nick line 1 of me
  108.   if nknm is true then exit closefield
  109.   put empty into nm
  110.   repeat with i=1 to number of words of line 1 of me
  111.     put character 1 of word i of line 1 of me after nm
  112.     repeat with j=2 to the length of word i of line 1 of me
  113.       put character j of word i of line 1 of me into chr
  114.       if chr is not "a" and chr is not "e" and chr is not "i" and chr is not "o" and chr is not "u" then put chr after nm
  115.     end repeat
  116.     if i< the number of words of line 1 of me then put " " after nm
  117.   end repeat
  118.   if length of nm<11 then nick nm
  119.   if nknm is true then exit closefield
  120.   put empty into field "nickname"
  121.   answer "Could not suggest a nickname. You try..."
  122.   click at the loc of field "nickname"
  123. end closefield
  124.  
  125.  
  126. -- part 179 (field)
  127. -- low flags: 02
  128. -- high flags: 4000
  129. -- rect: left=98 top=108 right=135 bottom=204
  130. -- title width / last selected line: 0
  131. -- icon id / first selected line: 0 / 0
  132. -- text alignment: 1
  133. -- font id: 21
  134. -- text size: 9
  135. -- style flags: 0
  136. -- line height: 12
  137. -- part name: Climate
  138.  
  139.  
  140. -- part 100 (field)
  141. -- low flags: 02
  142. -- high flags: 4000
  143. -- rect: left=98 top=132 right=229 bottom=204
  144. -- title width / last selected line: 0
  145. -- icon id / first selected line: 0 / 0
  146. -- text alignment: 1
  147. -- font id: 21
  148. -- text size: 9
  149. -- style flags: 0
  150. -- line height: 12
  151. -- part name: Info
  152.  
  153.  
  154. -- part 129 (field)
  155. -- low flags: 02
  156. -- high flags: 4000
  157. -- rect: left=242 top=65 right=82 bottom=288
  158. -- title width / last selected line: 0
  159. -- icon id / first selected line: 0 / 0
  160. -- text alignment: 1
  161. -- font id: 21
  162. -- text size: 12
  163. -- style flags: 0
  164. -- line height: 16
  165. -- part name: HD
  166. ----- HyperTalk script -----
  167. on closefield
  168.   put 0 into lvl
  169.   put interp(field "HD") into stats
  170.   put item 2 of stats into lvl
  171.   put lvl+1 into lexp
  172.   if "+" is in field "HD" then add round(((item 4 of stats)/6)+.01) to lvl
  173.   if "-" is in field "HD" then add round(((item 4 of stats)/12)+.01) to lvl
  174.   if item 2 of stats<=1 and item 3 of stats<5 and item 3 of stats>1 then put 0 into lvl
  175.   put lvl into field "Level"
  176.   put lvl into field "Save Level"
  177.   if line 1 of field "Experience" is empty then
  178.     if lexp=1 then put 15 into line 1 of field "Experience"
  179.     else if lexp=2 then put 35 into line 1 of field "Experience"
  180.     else if lexp=3 then put 65 into line 1 of field "Experience"
  181.     else if lexp=4 then put 120 into line 1 of field "Experience"
  182.     else if lexp=5 then put 175 into line 1 of field "Experience"
  183.     else if lexp=6 then put 270 into line 1 of field "Experience"
  184.     else if lexp=7 then put 420 into line 1 of field "Experience"
  185.     else if lexp=8 then put 650 into line 1 of field "Experience"
  186.     else if lexp=9 then put 975 into line 1 of field "Experience"
  187.     else if lexp=10 or lexp=11 then put 1400 into line 1 of field "Experience"
  188.     else if lexp=12 then put 2000 into line 1 of field "Experience"
  189.   end if
  190.   msvthrw
  191.   calcth
  192. end closefield
  193.  
  194.  
  195. -- part 130 (field)
  196. -- low flags: 02
  197. -- high flags: 4000
  198. -- rect: left=233 top=95 right=108 bottom=288
  199. -- title width / last selected line: 0
  200. -- icon id / first selected line: 0 / 0
  201. -- text alignment: 1
  202. -- font id: 21
  203. -- text size: 9
  204. -- style flags: 0
  205. -- line height: 12
  206. -- part name: Experience
  207.  
  208.  
  209. -- part 93 (field)
  210. -- low flags: 02
  211. -- high flags: 4000
  212. -- rect: left=233 top=108 right=133 bottom=288
  213. -- title width / last selected line: 0
  214. -- icon id / first selected line: 0 / 0
  215. -- text alignment: 1
  216. -- font id: 3
  217. -- text size: 9
  218. -- style flags: 0
  219. -- line height: 12
  220. -- part name: 
  221.  
  222.  
  223. -- part 140 (field)
  224. -- low flags: 00
  225. -- high flags: 4000
  226. -- rect: left=243 top=139 right=156 bottom=270
  227. -- title width / last selected line: 0
  228. -- icon id / first selected line: 0 / 0
  229. -- text alignment: 1
  230. -- font id: 21
  231. -- text size: 12
  232. -- style flags: 256
  233. -- line height: 16
  234. -- part name: AC
  235.  
  236.  
  237. -- part 150 (field)
  238. -- low flags: 02
  239. -- high flags: 4000
  240. -- rect: left=371 top=142 right=155 bottom=417
  241. -- title width / last selected line: 0
  242. -- icon id / first selected line: 0 / 0
  243. -- text alignment: 1
  244. -- font id: 21
  245. -- text size: 9
  246. -- style flags: 0
  247. -- line height: 12
  248. -- part name: # of Attacks
  249.  
  250.  
  251. -- part 149 (field)
  252. -- low flags: 02
  253. -- high flags: 4000
  254. -- rect: left=214 top=168 right=231 bottom=280
  255. -- title width / last selected line: 0
  256. -- icon id / first selected line: 0 / 0
  257. -- text alignment: 1
  258. -- font id: 21
  259. -- text size: 9
  260. -- style flags: 0
  261. -- line height: 12
  262. -- part name: Weapon
  263. ----- HyperTalk script -----
  264. on closefield
  265.   calcth
  266. end closefield
  267.  
  268.  
  269. -- part 153 (field)
  270. -- low flags: 02
  271. -- high flags: 4000
  272. -- rect: left=280 top=168 right=231 bottom=304
  273. -- title width / last selected line: 0
  274. -- icon id / first selected line: 0 / 0
  275. -- text alignment: 1
  276. -- font id: 21
  277. -- text size: 9
  278. -- style flags: 0
  279. -- line height: 12
  280. -- part name: Weapon Bonus
  281. ----- HyperTalk script -----
  282. on closefield
  283.   calcth
  284. end closefield
  285.  
  286.  
  287. -- part 152 (field)
  288. -- low flags: 02
  289. -- high flags: 4000
  290. -- rect: left=325 top=168 right=231 bottom=371
  291. -- title width / last selected line: 0
  292. -- icon id / first selected line: 0 / 0
  293. -- text alignment: 1
  294. -- font id: 21
  295. -- text size: 9
  296. -- style flags: 0
  297. -- line height: 12
  298. -- part name: Weapon Damage
  299. ----- HyperTalk script -----
  300. on closefield
  301.   calcth
  302. end closefield
  303.  
  304.  
  305. -- part 89 (field)
  306. -- low flags: 03
  307. -- high flags: 0002
  308. -- rect: left=120 top=83 right=95 bottom=183
  309. -- title width / last selected line: 0
  310. -- icon id / first selected line: 0 / 0
  311. -- text alignment: 1
  312. -- font id: 21
  313. -- text size: 9
  314. -- style flags: 0
  315. -- line height: 10
  316. -- part name: Frequency
  317. ----- HyperTalk script -----
  318. on mouseDown
  319.   put "Common"&return&"Uncommon"&return&"Rare"&return&"Very Rare"& return&"Unique" into mnu
  320.   get PopupMenu(mnu,0,84,121)
  321.   if it is not 0 then put line it of mnu into me
  322. end mouseDown
  323.  
  324.  
  325. -- part 91 (field)
  326. -- low flags: 03
  327. -- high flags: 0000
  328. -- rect: left=223 top=67 right=80 bottom=245
  329. -- title width / last selected line: 0
  330. -- icon id / first selected line: 0 / 0
  331. -- text alignment: 1
  332. -- font id: 21
  333. -- text size: 9
  334. -- style flags: 0
  335. -- line height: 12
  336. -- part name: Level
  337.  
  338.  
  339. -- part 131 (field)
  340. -- low flags: 03
  341. -- high flags: 0002
  342. -- rect: left=338 top=140 right=155 bottom=365
  343. -- title width / last selected line: 0
  344. -- icon id / first selected line: 0 / 0
  345. -- text alignment: 1
  346. -- font id: 21
  347. -- text size: 12
  348. -- style flags: 0
  349. -- line height: 14
  350. -- part name: Base THAC0
  351.  
  352.  
  353. -- part 144 (field)
  354. -- low flags: 02
  355. -- high flags: 0000
  356. -- rect: left=293 top=118 right=133 bottom=320
  357. -- title width / last selected line: 0
  358. -- icon id / first selected line: 0 / 0
  359. -- text alignment: 1
  360. -- font id: 21
  361. -- text size: 12
  362. -- style flags: 0
  363. -- line height: 14
  364. -- part name: Paralyze
  365.  
  366.  
  367. -- part 145 (field)
  368. -- low flags: 02
  369. -- high flags: 0000
  370. -- rect: left=317 top=118 right=133 bottom=344
  371. -- title width / last selected line: 0
  372. -- icon id / first selected line: 0 / 0
  373. -- text alignment: 1
  374. -- font id: 21
  375. -- text size: 12
  376. -- style flags: 0
  377. -- line height: 14
  378. -- part name: Staff/Wand
  379.  
  380.  
  381. -- part 146 (field)
  382. -- low flags: 02
  383. -- high flags: 0000
  384. -- rect: left=341 top=118 right=133 bottom=368
  385. -- title width / last selected line: 0
  386. -- icon id / first selected line: 0 / 0
  387. -- text alignment: 1
  388. -- font id: 21
  389. -- text size: 12
  390. -- style flags: 0
  391. -- line height: 14
  392. -- part name: Petrify/Polymorph
  393.  
  394.  
  395. -- part 147 (field)
  396. -- low flags: 02
  397. -- high flags: 0000
  398. -- rect: left=365 top=118 right=133 bottom=392
  399. -- title width / last selected line: 0
  400. -- icon id / first selected line: 0 / 0
  401. -- text alignment: 1
  402. -- font id: 21
  403. -- text size: 12
  404. -- style flags: 0
  405. -- line height: 14
  406. -- part name: Breath Weapon
  407.  
  408.  
  409. -- part 148 (field)
  410. -- low flags: 02
  411. -- high flags: 0000
  412. -- rect: left=389 top=118 right=133 bottom=416
  413. -- title width / last selected line: 0
  414. -- icon id / first selected line: 0 / 0
  415. -- text alignment: 1
  416. -- font id: 21
  417. -- text size: 12
  418. -- style flags: 0
  419. -- line height: 14
  420. -- part name: Spells
  421.  
  422.  
  423. -- part 151 (field)
  424. -- low flags: 03
  425. -- high flags: 0000
  426. -- rect: left=303 top=168 right=231 bottom=326
  427. -- title width / last selected line: 0
  428. -- icon id / first selected line: 0 / 0
  429. -- text alignment: 1
  430. -- font id: 21
  431. -- text size: 9
  432. -- style flags: 256
  433. -- line height: 12
  434. -- part name: Weapon THAC0
  435.  
  436.  
  437. -- part 154 (field)
  438. -- low flags: 00
  439. -- high flags: 2007
  440. -- rect: left=34 top=230 right=330 bottom=418
  441. -- title width / last selected line: 0
  442. -- icon id / first selected line: 0 / 0
  443. -- text alignment: 0
  444. -- font id: 21
  445. -- text size: 9
  446. -- style flags: 0
  447. -- line height: 12
  448. -- part name: Descript
  449.  
  450.  
  451. -- part 158 (field)
  452. -- low flags: 01
  453. -- high flags: 0002
  454. -- rect: left=38 top=67 right=80 bottom=80
  455. -- title width / last selected line: 0
  456. -- icon id / first selected line: 0 / 0
  457. -- text alignment: 1
  458. -- font id: 21
  459. -- text size: 9
  460. -- style flags: 0
  461. -- line height: 12
  462. -- part name: Cat2
  463. ----- HyperTalk script -----
  464. on mousedown
  465.   global MnstrMenu
  466.   get PopupMenu(MnstrMenu,chkitm,68,39)
  467.   if it is not 0 then put line it of MnstrMenu into me
  468. end mousedown
  469.  
  470.  
  471. -- part 160 (field)
  472. -- low flags: 02
  473. -- high flags: 4000
  474. -- rect: left=292 top=70 right=83 bottom=352
  475. -- title width / last selected line: 0
  476. -- icon id / first selected line: 0 / 0
  477. -- text alignment: 1
  478. -- font id: 21
  479. -- text size: 9
  480. -- style flags: 0
  481. -- line height: 12
  482. -- part name: nickname
  483. ----- HyperTalk script -----
  484. on closefield
  485.   set the name of this card to me
  486.   if chknm() is true then
  487.     set the name of this card to empty
  488.     put empty into me
  489.     answer "Sorry, that nickname is taken. Try another..."
  490.     click at the loc of me
  491.   end if
  492. end closefield
  493.  
  494.  
  495. -- part 161 (button)
  496. -- low flags: 00
  497. -- high flags: 0000
  498. -- rect: left=376 top=61 right=82 bottom=398
  499. -- title width / last selected line: 0
  500. -- icon id / first selected line: 0 / 0
  501. -- text alignment: 1
  502. -- font id: 0
  503. -- text size: 12
  504. -- style flags: 0
  505. -- line height: 16
  506. -- part name: help
  507. ----- HyperTalk script -----
  508. on mouseUp
  509.   gohelp "Monster Help"
  510. end mouseUp
  511.  
  512.  
  513.  
  514. -- part 163 (button)
  515. -- low flags: 00
  516. -- high flags: 2000
  517. -- rect: left=468 top=28 right=55 bottom=507
  518. -- title width / last selected line: 0
  519. -- icon id / first selected line: 0 / 0
  520. -- text alignment: 1
  521. -- font id: 0
  522. -- text size: 12
  523. -- style flags: 0
  524. -- line height: 16
  525. -- part name: 
  526. ----- HyperTalk script -----
  527. on mouseUp
  528.   godm
  529. end mouseUp
  530.  
  531.  
  532.  
  533. -- part 164 (button)
  534. -- low flags: 00
  535. -- high flags: 2000
  536. -- rect: left=468 top=56 right=83 bottom=507
  537. -- title width / last selected line: 0
  538. -- icon id / first selected line: 0 / 0
  539. -- text alignment: 1
  540. -- font id: 0
  541. -- text size: 12
  542. -- style flags: 0
  543. -- line height: 16
  544. -- part name: 
  545. ----- HyperTalk script -----
  546. on mouseUp
  547.   goadv
  548. end mouseUp
  549.  
  550.  
  551.  
  552. -- part 165 (button)
  553. -- low flags: 00
  554. -- high flags: 2000
  555. -- rect: left=468 top=84 right=111 bottom=507
  556. -- title width / last selected line: 0
  557. -- icon id / first selected line: 0 / 0
  558. -- text alignment: 1
  559. -- font id: 0
  560. -- text size: 12
  561. -- style flags: 0
  562. -- line height: 16
  563. -- part name: 
  564. ----- HyperTalk script -----
  565. on mouseUp
  566.   goenc
  567. end mouseUp
  568.  
  569.  
  570.  
  571. -- part 166 (button)
  572. -- low flags: 00
  573. -- high flags: 2000
  574. -- rect: left=468 top=112 right=139 bottom=507
  575. -- title width / last selected line: 0
  576. -- icon id / first selected line: 0 / 0
  577. -- text alignment: 1
  578. -- font id: 0
  579. -- text size: 12
  580. -- style flags: 0
  581. -- line height: 16
  582. -- part name: 
  583. ----- HyperTalk script -----
  584. on mouseUp
  585.   gocom
  586. end mouseUp
  587.  
  588.  
  589.  
  590. -- part 167 (button)
  591. -- low flags: 00
  592. -- high flags: 2000
  593. -- rect: left=468 top=140 right=167 bottom=507
  594. -- title width / last selected line: 0
  595. -- icon id / first selected line: 0 / 0
  596. -- text alignment: 1
  597. -- font id: 0
  598. -- text size: 12
  599. -- style flags: 0
  600. -- line height: 16
  601. -- part name: 
  602. ----- HyperTalk script -----
  603. on mouseUp
  604.   goexp
  605. end mouseUp
  606.  
  607.  
  608.  
  609. -- part 168 (button)
  610. -- low flags: 00
  611. -- high flags: 2000
  612. -- rect: left=468 top=308 right=335 bottom=507
  613. -- title width / last selected line: 0
  614. -- icon id / first selected line: 0 / 0
  615. -- text alignment: 1
  616. -- font id: 0
  617. -- text size: 12
  618. -- style flags: 0
  619. -- line height: 16
  620. -- part name: 
  621. ----- HyperTalk script -----
  622. on mouseUp
  623.   gocal
  624. end mouseUp
  625.  
  626.  
  627.  
  628. -- part 169 (button)
  629. -- low flags: 00
  630. -- high flags: 2000
  631. -- rect: left=468 top=168 right=195 bottom=507
  632. -- title width / last selected line: 0
  633. -- icon id / first selected line: 0 / 0
  634. -- text alignment: 1
  635. -- font id: 0
  636. -- text size: 12
  637. -- style flags: 0
  638. -- line height: 16
  639. -- part name: 
  640. ----- HyperTalk script -----
  641. on mouseUp
  642.   gohero
  643. end mouseUp
  644.  
  645.  
  646.  
  647. -- part 170 (button)
  648. -- low flags: 00
  649. -- high flags: 2000
  650. -- rect: left=468 top=196 right=223 bottom=507
  651. -- title width / last selected line: 0
  652. -- icon id / first selected line: 0 / 0
  653. -- text alignment: 1
  654. -- font id: 0
  655. -- text size: 12
  656. -- style flags: 0
  657. -- line height: 16
  658. -- part name: bMnstr
  659. ----- HyperTalk script -----
  660. on mouseUp
  661.   if the optionKey is up then gomnstr
  662.   else
  663.     answer "Import Dungeon Mastery 1.0 monster data?" with "Yes" or "No"
  664.     if it is "No" then exit to hypercard
  665.     push card
  666.     pop card into mnstrcd
  667.     put mnstrcd
  668.     go "the old Dungeon Mastery stack"
  669.     if this card is mnstrcd then exit to hypercard
  670.     go to card 1 of background "Monsters"
  671.     repeat with i=2 to the number of cards of this background
  672.       go to card i of this background
  673.       push card
  674.       put field "Monster Name" into nm
  675.       put field "Monster Level" into lv
  676.       put field "Monster Damage" into dmg
  677.       put field "Monster Attacks" into att
  678.       put field "AC" into ac
  679.       put field "Monster Movement" into mv
  680.       put field "info" into info
  681.       go mnstrcd
  682.       domenu "New Card"
  683.       put nm into field "Name2"
  684.       put lv into field "HD"
  685.       put dmg into field "Weapon Damage"
  686.       put att into field "# of Attacks"
  687.       put ac into field "Base AC"
  688.       put mv into line 5 of field "descript"
  689.       put info into field "info"
  690.       send closefield to field "HD"
  691.       send closefield to field "Base AC"
  692.       pop card
  693.     end repeat
  694.   end if
  695. end mouseUp
  696.  
  697.  
  698.  
  699. -- part 171 (button)
  700. -- low flags: 00
  701. -- high flags: 2000
  702. -- rect: left=468 top=224 right=251 bottom=507
  703. -- title width / last selected line: 0
  704. -- icon id / first selected line: 0 / 0
  705. -- text alignment: 1
  706. -- font id: 0
  707. -- text size: 12
  708. -- style flags: 0
  709. -- line height: 16
  710. -- part name: 
  711. ----- HyperTalk script -----
  712. on mouseUp
  713.   gowiz
  714. end mouseUp
  715.  
  716.  
  717.  
  718. -- part 172 (button)
  719. -- low flags: 00
  720. -- high flags: 2000
  721. -- rect: left=468 top=280 right=307 bottom=507
  722. -- title width / last selected line: 0
  723. -- icon id / first selected line: 0 / 0
  724. -- text alignment: 1
  725. -- font id: 0
  726. -- text size: 12
  727. -- style flags: 0
  728. -- line height: 16
  729. -- part name: 
  730. ----- HyperTalk script -----
  731. on mouseUp
  732.   goutil
  733. end mouseUp
  734.  
  735.  
  736.  
  737. -- part 173 (button)
  738. -- low flags: 00
  739. -- high flags: 2000
  740. -- rect: left=468 top=252 right=279 bottom=507
  741. -- title width / last selected line: 0
  742. -- icon id / first selected line: 0 / 0
  743. -- text alignment: 1
  744. -- font id: 0
  745. -- text size: 12
  746. -- style flags: 0
  747. -- line height: 16
  748. -- part name: 
  749. ----- HyperTalk script -----
  750. on mouseUp
  751.   goitm
  752. end mouseUp
  753.  
  754.  
  755.  
  756. -- part 174 (field)
  757. -- low flags: 03
  758. -- high flags: 0000
  759. -- rect: left=396 top=88 right=101 bottom=417
  760. -- title width / last selected line: 0
  761. -- icon id / first selected line: 0 / 0
  762. -- text alignment: 1
  763. -- font id: 21
  764. -- text size: 9
  765. -- style flags: 0
  766. -- line height: 12
  767. -- part name: Save
  768. ----- HyperTalk script -----
  769. on mouseup
  770.   put empty into me
  771.   put random(20) into me
  772. end mouseUp
  773.  
  774.  
  775.  
  776. -- part 175 (field)
  777. -- low flags: 02
  778. -- high flags: 0000
  779. -- rect: left=346 top=88 right=101 bottom=367
  780. -- title width / last selected line: 0
  781. -- icon id / first selected line: 0 / 0
  782. -- text alignment: 1
  783. -- font id: 21
  784. -- text size: 9
  785. -- style flags: 0
  786. -- line height: 12
  787. -- part name: Save Level
  788. ----- HyperTalk script -----
  789. on closefield
  790.   msvthrw
  791. end closefield
  792.  
  793.  
  794.  
  795. -- part 176 (field)
  796. -- low flags: 03
  797. -- high flags: 0000
  798. -- rect: left=363 top=88 right=101 bottom=397
  799. -- title width / last selected line: 0
  800. -- icon id / first selected line: 0 / 0
  801. -- text alignment: 1
  802. -- font id: 21
  803. -- text size: 9
  804. -- style flags: 0
  805. -- line height: 12
  806. -- part name: Save Class
  807. ----- HyperTalk script -----
  808. on mouseDown
  809.   put "Warrior"&return&"Wizard"&return&"Priest"&return&"Rogue" into mnu
  810.   repeat with i=1 to number of lines of mnu
  811.     if line i of mnu is in me then put i into chkitm
  812.   end repeat
  813.   get PopupMenu(mnu,chkitm,88,365)
  814.   if it is not 0 then
  815.     set cursor to "watch"
  816.     put line it of mnu into me
  817.     msvthrw
  818.   end if
  819. end mousedown
  820.  
  821.  
  822. -- part 178 (field)
  823. -- low flags: 03
  824. -- high flags: 0002
  825. -- rect: left=120 top=96 right=108 bottom=183
  826. -- title width / last selected line: 0
  827. -- icon id / first selected line: 0 / 0
  828. -- text alignment: 1
  829. -- font id: 21
  830. -- text size: 9
  831. -- style flags: 0
  832. -- line height: 10
  833. -- part name: Activity
  834. ----- HyperTalk script -----
  835. on mouseDown
  836.   put "Any"&return&"Day"&return&"Night"&return&"Full Moon" into mnu
  837.   get PopupMenu(mnu,0,97,121)
  838.   if it is not 0 then put line it of mnu into me
  839. end mouseDown
  840.  
  841.  
  842. -- part 180 (field)
  843. -- low flags: 01
  844. -- high flags: 0002
  845. -- rect: left=239 top=83 right=95 bottom=281
  846. -- title width / last selected line: 0
  847. -- icon id / first selected line: 0 / 0
  848. -- text alignment: 1
  849. -- font id: 21
  850. -- text size: 9
  851. -- style flags: 0
  852. -- line height: 10
  853. -- part name: Moral/Order
  854. ----- HyperTalk script -----
  855. on mousedown
  856.   put "L G"&return&"N G"&return&"C G"&return&"L N"&return&"N N"&return& "C N"&return&"L E"&return&"N E"&return&"C E" into mnu
  857.   repeat with i=1 to number of lines of mnu
  858.     if line i of mnu is in me then put i into chkitm
  859.   end repeat
  860.   get PopupMenu(mnu,chkitm,84,240)
  861.   if it is not 0 then put line it of mnu into me
  862. end mousedown
  863.  
  864.  
  865.  
  866. -- part 181 (field)
  867. -- low flags: 02
  868. -- high flags: 4000
  869. -- rect: left=371 top=168 right=231 bottom=416
  870. -- title width / last selected line: 0
  871. -- icon id / first selected line: 0 / 0
  872. -- text alignment: 1
  873. -- font id: 21
  874. -- text size: 9
  875. -- style flags: 0
  876. -- line height: 12
  877. -- part name: Weapon Damage 2
  878.  
  879.  
  880. -- part 182 (button)
  881. -- low flags: 00
  882. -- high flags: 0005
  883. -- rect: left=354 top=68 right=84 bottom=372
  884. -- title width / last selected line: 0
  885. -- icon id / first selected line: 0 / 0
  886. -- text alignment: 1
  887. -- font id: 0
  888. -- text size: 12
  889. -- style flags: 0
  890. -- line height: 16
  891. -- part name: Large?
  892. ----- HyperTalk script -----
  893. on mouseUp
  894.   if "true" is in line 2 of field "Name2" then
  895.     put "false" into line 2 of field "Name2"
  896.   else put "true" into line 2 of field "Name2"
  897.   set the hilite of me to line 2 of field "Name2"
  898. end mouseUp
  899.  
  900.